
<style>
    .layui-form-label{
        padding-right: 0px !important;
        padding-left: 10px !important;
        width: 100px !important;
        text-align: left !important;
    }
    .layui-form-label span{

        text-align: left !important;
    }
</style>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<div class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>一、店铺基本信息</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.1、</span>店铺名称</label>
                <div class="layui-input-block">
                    <input type="text" name="title" required
                           placeholder="请输入店铺名称"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.2、</span>店铺类型</label>
                <div class="layui-input-block">
                    <select name="catPathKey" lay-verify="required" placeholder="请输入店铺类型" lay-search="">
                        <option value="">请输入店铺类型</option>
                        {foreach $gather_config as $key=>$vo}
                            {if $vo['field_tag'] eq 'catPathKey'}
                                <option value="{$vo.name}">{$vo.name}</option>
                            {/if}
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.3、</span>直营&加盟</label>
                <div class="layui-input-block">
                    <select name="isChainStore" lay-verify="required" placeholder="请输入直营或加盟" lay-search="">
                        <option value="">请输入直营或加盟</option>
                        {foreach $gather_config as $key=>$vo}
                        {if $vo['field_tag'] eq 'isChainStore'}
                        <option value="{$vo.name}">{$vo.name}</option>
                        {/if}
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.6、</span>经纬度</label>

                <div class="layui-input-inline">
                    <input type="text" name="geoPoint" id="geoPoint" autocomplete="off" readonly  lay-verify="required" placeholder="请选择经纬度" class="layui-input">
                </div>
                <button style="float: left;"   id="point" class="layui-btn">选择经纬度</button>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.4、</span>店铺地址</label>
                <div class="layui-input-block">
                    <input type="text" name="address"  id="address" readonly required placeholder="请输入店铺地址"
                           autocomplete="off"
                           class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.5、</span>联系电话</label>
                <div class="layui-input-block">
                    <input type="text" name="telephones" lay-verify="required" placeholder="请输入联系电话"
                           class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.7、</span>所在国家</label>
                <div class="layui-input-block">
                    <input type="text" name="country" value="中国" required
                           placeholder="请输入所在城市"
                           autocomplete="off"
                           class="layui-input" readonly>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.7、</span>所在省份</label>
                <div class="layui-input-block">
                    <input type="text" name="state" id="state" required
                           placeholder="请输入所在省份"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.7、</span>所在城市</label>
                <div class="layui-input-block">
                    <input type="text" name="city" id="city" required
                           placeholder="请输入所在城市"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.7、</span>所在区域</label>
                <div class="layui-input-block">
                    <input type="text" name="district" id="district" required
                           placeholder="请输入所在区域"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.7、</span>所在商圈</label>
                <div class="layui-input-block">
                    <input type="text" name="businessDistrict" id="business" required
                           placeholder="请输入所在商圈"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.8、</span>开店时间</label>
                <div class="layui-input-block">
                    <input type="text" name="openShopTime" id="openShopTime" readonly required
                           placeholder="请输入开店时间"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.9、</span>营业时间</label>
                <div class="layui-input-block">
                    <input type="text" name="openingHours" id="openingHours" readonly required
                           placeholder="请输入营业时间"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>1.10.</span>上传图片</label>

                <div class="layui-input-inline">
                    <input type="text" name="image_ids" id="image" autocomplete="off" readonly  lay-verify="required" placeholder="请选择上传图片" class="layui-input">
                </div>
                <button style="float: left;"   id="imageId" class="layui-btn">选择图片</button>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>二、店铺可视性</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>2.1、</span>所处楼层</label>
                <div class="layui-input-block">
                    <select name="floor" lay-verify="required" placeholder="请输入所处楼层" lay-search="">
                        <option value="">请输入所处楼层</option>
                        {foreach $gather_config as $key=>$vo}
                        {if $vo['field_tag'] eq 'floor'}
                        <option value="{$vo.name}">{$vo.name}</option>
                        {/if}
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>2.2、</span>员工数</label>
                <div class="layui-input-block">
                    <input type="text" name="personnel" required
                           placeholder="请输入店铺人员数"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>2.3、</span>营业面积</label>
                <div class="layui-input-block">
                    <input type="text" name="area" required
                           placeholder="请输入营业面积"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>2.4、</span>店面尺寸</label>
                <div class="layui-input-block">
                    <input type="text" name="size" required
                           placeholder="请输入店面尺寸"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>2.5、</span>店招</label>
                <div class="layui-input-block">
                    <input type="text" name="recruitment" required
                           placeholder="请输入店招"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>2.6、</span>采光性</label>
                <div class="layui-input-block">
                    <input type="text" name="daylighting" required
                           placeholder="请输入店内采光性"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>2.7、</span>橱窗数</label>
                <div class="layui-input-block">
                    <input type="text" name="numberOfWindows" required
                           placeholder="请输入橱窗数"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>三、空间效果</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>3.1、</span>店面柱墙</label>
                <div class="layui-input-block">
<!--                    <input type="text" name="wall" required-->
<!--                           placeholder="请输入是否有店面柱墙"-->
<!--                           autocomplete="off"-->
<!--                           class="layui-input" >-->
                    <select name="wall" lay-verify="required" placeholder="请输入是否有店面柱墙" lay-search="">
                        <option value="">请输入是否有店面柱墙</option>
                        {foreach $gather_config as $key=>$vo}
                        {if $vo['field_tag'] eq 'wall'}
                        <option value="{$vo.name}">{$vo.name}</option>
                        {/if}
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>3.2、</span>是否死角</label>
                <div class="layui-input-block">
                    <select name="angle" lay-verify="required" placeholder="请输入是否有死角" lay-search="">
                        <option value="">请输入是否有死角</option>
                        {foreach $gather_config as $key=>$vo}
                        {if $vo['field_tag'] eq 'angle'}
                        <option value="{$vo.name}">{$vo.name}</option>
                        {/if}
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>3.3、</span>装修风格</label>
                <div class="layui-input-block">
                    <select name="decoration_style" lay-verify="required" placeholder="请输入装修风格" lay-search="">
                        <option value="">请输入装修风格</option>
<!--                        <option value="1">欧式</option>-->
<!--                        <option value="2">法式</option>-->
<!--                        <option value="3">美式</option>-->
<!--                        <option value="4">港式</option>-->
<!--                        <option value="5">现代</option>-->
<!--                        <option value="6">简欧</option>-->
<!--                        <option value="7">简美</option>-->
<!--                        <option value="8">日式</option>-->
<!--                        <option value="9">工业</option>-->
                        {foreach $gather_config as $key=>$vo}
                        {if $vo['field_tag'] eq 'decoration_style'}
                        <option value="{$vo.name}">{$vo.name}</option>
                        {/if}
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>四、店面可接近性</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>4.1、</span>斑马线</label>
                <div class="layui-input-block">
                    <input type="text" name="zebra_crossing" required
                           placeholder="请输入店前街道是否有斑马线"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>4.2、</span>公交站</label>
                <div class="layui-input-block">
                    <input type="text" name="bus_stop" required
                           placeholder="请输入前街道是否有公交站"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>4.3、</span>街道宽度</label>
                <div class="layui-input-block">
                    <input type="text" name="street_width" required
                           placeholder="请输入门前街道宽度"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>4.4、</span>障碍台阶</label>
                <div class="layui-input-block">
                    <input type="text" name="steps" required
                           placeholder="请输入店前是否有障碍物或台阶等"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>五、店铺立地效果</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>5.1、</span>街道位置</label>
                <div class="layui-input-block">
                    <input type="text" name="location" required
                           placeholder="请输入店铺位于街道的位置"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>


        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>5.2、</span>聚客点</label>
                <div class="layui-input-block">
                    <input type="text" name="point" required
                           placeholder="请输入街道有多少个聚客点"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>5.3、</span>店面一侧</label>
                <div class="layui-input-block">
                    <input type="text" name="side" required
                           placeholder="请输入店面一侧"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>六、店铺便利性</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>6.1、</span>广告位</label>
                <div class="layui-input-block">
                    <input type="text" name="box" required
                           placeholder="请输入广告灯箱位"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>6.2、</span>店面朝南</label>
                <div class="layui-input-block">
                    <input type="text" name="south" required
                           placeholder="店面是否朝南"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>6.3、</span>休闲坐凳</label>
                <div class="layui-input-block">
                    <input type="text" name="stool" required
                           placeholder="门口有无休闲坐凳"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>6.4、</span>风格统一</label>
                <div class="layui-input-block">
                    <input type="text" name="unification" required
                           placeholder="街道店面风格统一"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>6.5、</span>允许外开</label>
                <div class="layui-input-block">
                    <select name="allowed" lay-verify="required" placeholder="店门允许外开" lay-search="">
                        <option value="">请选择店门是否允许外开</option>
                        {foreach $gather_config as $key=>$vo}
                        {if $vo['field_tag'] eq 'allowed'}
                        <option value="{$vo.name}">{$vo.name}</option>
                        {/if}
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>6.6、</span>路口位置</label>
                <div class="layui-input-block">
                    <input type="text" name="intersection" required
                           placeholder="店面处在拐角或路口位置"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>七、租赁费用</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>7.1、</span>租金单价</label>
                <div class="layui-input-block">
                    <input type="text" name="rent" lay-verify="number" required
                           placeholder="租金(单价)"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>7.2、</span>租赁费</label>
                <div class="layui-input-block">
                    <input type="text" name="rental_fee" lay-verify="number" required
                           placeholder="租赁费"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>7.3、</span>房屋租期</label>
                <div class="layui-input-block">
                    <input type="text" name="house_tenancy"  required
                           placeholder="房屋租期"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>7.4、</span>支付方式</label>
                <div class="layui-input-block">
                    <select name="payment" lay-verify="required" placeholder="支付方式" lay-search="">
                        <option value="">支付方式</option>
                        {foreach $gather_config as $key=>$vo}
                        {if $vo['field_tag'] eq 'payment'}
                        <option value="{$vo.name}">{$vo.name}</option>
                        {/if}
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>7.5、</span>保证金</label>
                <div class="layui-input-block">
                    <input type="text" name="bond" lay-verify="number" required
                           placeholder="保证金"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>7.6、</span>定金</label>
                <div class="layui-input-block">
                    <input type="text" name="front_money" lay-verify="number" required
                           placeholder="定金"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>7.7、</span>递增约定</label>
                <div class="layui-input-block">
                    <input type="text" name="incremental" required
                           placeholder="递增约定"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>7.8、</span>免租期</label>
                <div class="layui-input-block">
                    <input type="text" name="rent_free_period" required
                           placeholder="免租期"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>7.9、</span>转让费</label>
                <div class="layui-input-block">
                    <input type="text" name="transfer" lay-verify="number"  required
                           placeholder="转让费"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>八、员工薪酬</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>8.1、</span>月工资</label>
                <div class="layui-input-block">
                    <input type="text" name="wages" lay-verify="number" required
                           placeholder="店铺人员月工资"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>8.2、</span>生活福利</label>
                <div class="layui-input-block">
                    <input type="text" name="welfare" lay-verify="number" required
                           placeholder="生活福利费"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>8.3、</span>奖金</label>
                <div class="layui-input-block">
                    <input type="text" name="bonus" lay-verify="number" required
                           placeholder="奖金"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>九、物业水电费</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>9.1、</span>电费</label>
                <div class="layui-input-block">
                    <input type="text" name="power_rate" lay-verify="number" required
                           placeholder="电费"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>9.2、</span>水费</label>
                <div class="layui-input-block">
                    <input type="text" name="water_rate" lay-verify="number" required
                           placeholder="水费"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>9.3、</span>燃气费</label>
                <div class="layui-input-block">
                    <input type="text" name="gas_rate" lay-verify="number" required
                           placeholder="燃气费"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>9.4、</span>取暖费</label>
                <div class="layui-input-block">
                    <input type="text" name="heating_rate" lay-verify="number" required
                           placeholder="取暖费"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>9.5、</span>物业费</label>
                <div class="layui-input-block">
                    <input type="text" name="property_fee" lay-verify="number" required
                           placeholder="物业费"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>十、装修采购</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>10.1、</span>装修成本</label>
                <div class="layui-input-block">
                    <input type="text" name="decoration" lay-verify="number" required
                           placeholder="店铺装修成本"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>10.2、</span>采购成本</label>
                <div class="layui-input-block">
                    <input type="text" name="procurement" lay-verify="number" required
                           placeholder="店铺设施设备采购成本"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>10.3、</span>营运费用</label>
                <div class="layui-input-block">
                    <input type="text" name="operating" lay-verify="number" required
                           placeholder="月度营运费用"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>10.4、</span>其他费用</label>
                <div class="layui-input-block">
                    <input type="text" name="other" lay-verify="number" required
                           placeholder="其他费用"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>10.5、</span>年营业额</label>
                <div class="layui-input-block">
                    <input type="text" name="annual_turnover" lay-verify="number" required
                           placeholder="年营业额"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>十一、商圈性质</b></legend>
        </fieldset>
<!--        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">-->
<!--            <div class="layui-form-item">-->
<!--                <label class="layui-form-label"><span>11.1、</span>商圈名称</label>-->
<!--                <div class="layui-input-block">-->
<!--                    <input type="text" name="businessDistrict" required-->
<!--                           placeholder="商圈名称"-->
<!--                           autocomplete="off"-->
<!--                           class="layui-input" >-->
<!--                </div>-->
<!--            </div>-->
<!--        </div>-->

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>11.2、</span>主营内容</label>
                <div class="layui-input-block">
                    <input type="text" name="main_camp" required
                           placeholder="所在商圈主营内容"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>11.3、</span>商圈级别</label>
                <div class="layui-input-block">
                    <select name="business_circle_level" lay-verify="required" placeholder="请输入商圈级别" lay-search="">
                        <option value="">请输入商圈级别</option>
                        {foreach $gather_config as $key=>$vo}
                        {if $vo['field_tag'] eq 'business_circle_level'}
                        <option value="{$vo.id}">{$vo.name}</option>
                        {/if}
                        {/foreach}
                    </select>
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>11.4、</span>商圈属性</label>
                <div class="layui-input-block">
                    <input type="text" name="property_of_business_circle" required
                           placeholder="商圈属性"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>


        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>11.5、</span>生命周期</label>
                <div class="layui-input-block">
                    <input type="text" name="life_cycle" required
                           placeholder="商圈生命周期"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <fieldset class="layui-elem-field layui-field-title">
            <legend><b>十二、商圈基础设施</b></legend>
        </fieldset>
        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>12.1、</span>绿化环境</label>
                <div class="layui-input-block">
                    <input type="text" name="greening_environment" required
                           placeholder="商圈绿化环境"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>12.2、</span>物业环境</label>
                <div class="layui-input-block">
                    <input type="text" name="property_environment" required
                           placeholder="物业环境"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
            <div class="layui-form-item">
                <label class="layui-form-label"><span>12.3、</span>基础建设</label>
                <div class="layui-input-block">
                    <input type="text" name="infrastructure" required
                           placeholder="道路基础建设"
                           autocomplete="off"
                           class="layui-input" >
                </div>
            </div>
        </div>
        <div class="layui-row">
            <fieldset class="layui-elem-field layui-field-title">
                <legend><b>十三、商圈购买力评估</b></legend>
            </fieldset>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>13.1、</span>消费单价</label>
                    <div class="layui-input-block">
                        <input type="text" name="unit_price" lay-verify="number" required
                               placeholder="消费客单价"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>13.2、</span>客流量</label>
                    <div class="layui-input-block">
                        <input type="text" name="passenger_flow" required
                               placeholder="目标客流量"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>


            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>13.3、</span>消费能力</label>
                    <div class="layui-input-block">
                        <input type="text" name="consumption_ability" required
                               placeholder="常住住户的消费能力"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row">
            <fieldset class="layui-elem-field layui-field-title">
                <legend><b>十四、商圈易达性</b></legend>
            </fieldset>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>14.1、</span>公交站数</label>
                    <div class="layui-input-block">
                        <input type="text" name="number_of_bus_stops" lay-verify="number" required
                               placeholder="公交站数量个"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>14.2、</span>线路数量</label>
                    <div class="layui-input-block">
                        <input type="text" name="number_of_lines" lay-verify="number" required
                               placeholder="公交车线路数量"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>14.3、</span>停车场数</label>
                    <div class="layui-input-block">
                        <input type="text" name="number_of_parking_lots" lay-verify="number" required
                               placeholder="停车场数量"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>14.4、</span>地铁有无</label>
                    <div class="layui-input-block">
                        <select name="is_metro" lay-verify="required" placeholder="请输入地铁有无" lay-search="">
                            <option value="">请选择地铁有无</option>
                            {foreach $gather_config as $key=>$vo}
                                {if $vo['field_tag'] eq 'is_metro'}
                                    <option value="{$vo.id}">{$vo.name}</option>
                                {/if}
                            {/foreach}
                        </select>
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>14.5、</span>主干道长</label>
                    <div class="layui-input-block">
                        <input type="text" name="main_road_length" required
                               placeholder="主干道路长"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>14.6、</span>主干道宽</label>
                    <div class="layui-input-block">
                        <input type="text" name="width_of_main_road" required
                               placeholder="主干道路宽"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>14.7、</span>是否通畅</label>
                    <div class="layui-input-block">
                        <select name="road_is_unobstructed" lay-verify="required" placeholder="请输入主干道是否通畅" lay-search="">
                            <option value="">请选择主干道是否通畅</option>
                            {foreach $gather_config as $key=>$vo}
                            {if $vo['field_tag'] eq 'road_is_unobstructed'}
                            <option value="{$vo.id}">{$vo.name}</option>
                            {/if}
                            {/foreach}
                        </select>
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>14.8、</span>人行道宽</label>
                    <div class="layui-input-block">
                        <input type="text" name="sidewalk" required
                               placeholder="店前人行道宽"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>14.9、</span>是否通畅</label>
                    <div class="layui-input-block">
                        <select name="sidewalk_is_unobstructed" lay-verify="required" placeholder="请输入人行道是否通畅" lay-search="">
                            <option value="">请选择人行道是否通畅</option>
                            {foreach $gather_config as $key=>$vo}
                            {if $vo['field_tag'] eq 'sidewalk_is_unobstructed'}
                            <option value="{$vo.id}">{$vo.name}</option>
                            {/if}
                            {/foreach}
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row">
            <fieldset class="layui-elem-field layui-field-title">
                <legend><b>十五、商圈商业氛围</b></legend>
            </fieldset>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>15.1、</span>主力店数</label>
                    <div class="layui-input-block">
                        <input type="text" name="number_of_main_stores" required
                               placeholder="商圈内主力店数（并记录）"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>15.2、</span>品牌店数</label>
                    <div class="layui-input-block">
                        <input type="text" name="brand_store_number" required
                               placeholder="商圈内品牌店数（并记录）"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>


            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>15.3、</span>休闲娱乐</label>
                    <div class="layui-input-block">
                        <input type="text" name="recreation" required
                               placeholder="商圈内休闲娱乐场所数（并记录）"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>

            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>15.4、</span>竞争店数</label>
                    <div class="layui-input-block">
                        <input type="text" name="number_of_competing_stores" required
                               placeholder="商圈内同业竞争店数（并记录）"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row">
            <fieldset class="layui-elem-field layui-field-title">
                <legend><b>十六、其他</b></legend>
            </fieldset>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.1.</span>评分排名</label>
                    <div class="layui-input-block">
                        <input type="text" name="ratingRank" required
                               placeholder="请输入评分排名"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.2.</span>评分次数</label>
                    <div class="layui-input-block">
                        <input type="text" name="ratingCount" required
                               placeholder="请输入评分次数"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.3.</span>评分次数</label>
                    <div class="layui-input-block">
                        <input type="text" name="ratingCount" required
                               placeholder="请输入评分次数"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.4.</span>配送服务</label>
                    <div class="layui-input-block">
                        <input type="text" name="deliverProvider" required
                               placeholder="请输入配送服务提供商"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.5.</span>最低配送</label>
                    <div class="layui-input-block">
                        <input type="text" name="minDeliver" required
                               placeholder="请输入最低配送金额，单位元"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.6.</span>配送费</label>
                    <div class="layui-input-block">
                        <input type="text" name="deliverFee" required
                               placeholder="配送费，单位元"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.7.</span>最低配送</label>
                    <div class="layui-input-block">
                        <input type="text" name="minDeliverFee" required
                               placeholder=" 最低配送费，单位元"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.8.</span>平均价格</label>
                    <div class="layui-input-block">
                        <input type="text" name="avgPrice" required
                               placeholder="请输入平均价格"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.10.</span>是否外卖</label>
                    <div class="layui-input-block">
<!--                        <input type="text" name="hasTakeaway" required-->
<!--                               placeholder="请输入是否可以外卖"-->
<!--                               autocomplete="off"-->
<!--                               class="layui-input" >-->
                        <select name="hasTakeaway" lay-verify="required" placeholder="请输入是否可以外卖" lay-search="">
                            <option value="">请输入是否可以外卖</option>
                            {foreach $gather_config as $key=>$vo}
                            {if $vo['field_tag'] eq 'hasTakeaway'}
                            <option value="{$vo.name}">{$vo.name}</option>
                            {/if}
                            {/foreach}
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.11.</span>月销量</label>
                    <div class="layui-input-block">
                        <input type="text" name="monthSaleCount" required
                               placeholder="请输入月销量"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.12.</span>服务评分</label>
                    <div class="layui-input-block">
                        <input type="text" name="servRating" required
                               placeholder="请输入服务评分"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.13.</span>是否预约</label>
                    <div class="layui-input-block">
<!--                        <input type="text" name="hasBooking" required-->
<!--                               placeholder="请输入是否可以预约"-->
<!--                               autocomplete="off"-->
<!--                               class="layui-input" >-->
                        <select name="hasBooking" lay-verify="required" placeholder="请输入是否可以预约" lay-search="">
                            <option value="">请输入是否可以预约</option>
                            {foreach $gather_config as $key=>$vo}
                            {if $vo['field_tag'] eq 'hasBooking'}
                            <option value="{$vo.name}">{$vo.name}</option>
                            {/if}
                            {/foreach}
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.14.</span>环境评分</label>
                    <div class="layui-input-block">
                        <input type="text" name="enviRating" required
                               placeholder="请输入周边环境评分"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label"><span>16.15.</span>负面标签</label>
                    <div class="layui-input-block">
                        <input type="text" name="badTagDist" required
                               placeholder="请输入负面标签"
                               autocomplete="off"
                               class="layui-input" >
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-user-back-submit" id="LAY-user-back-submit" value="确认">
    </div>
</div>
<script src="/static/admin/layui/layui.js"></script>
<script>
    var map = "{:url('query/map')}",ImageUrl = "{:url('query/imageUrl')}";
    layui.config({
        base: '/static/admin/' //静态资源所在路径
    }).extend({
        index: 'lib/index', //主入口模块
    }).use(['index', 'form','upload','laydate'], function () {
        var $ = layui.$, form = layui.form, laydate = layui.laydate,upload = layui.upload;
        //开店时间
        laydate.render({
            elem: '#openShopTime'
            ,trigger: 'click'
        });
        //营业时间
        laydate.render({
            elem: '#openingHours'
            ,type: 'time'
            ,range: true
            ,trigger: 'click'
        });
        //监听事件
        $("#point").click(function () {
            layer.open({
                type: 2
                , skin: 'layui-layer-molv'
                , title: '地图'
                , content: map
                , area: ['80%', '80%']
                , maxmin: true
            });
        });

        $("#imageId").click(function () {
            layer.open({
                type: 2
                , skin: 'layui-layer-molv'
                , title: '选择图片上传'
                , content: ImageUrl
                , area: ['80%', '80%']
                , maxmin: true
                , btn: ['确定', '取消']
                , yes: function (index, layero) {
                    var iframeWindow = window['layui-layer-iframe' + index]
                        , submitID = 'LAY-user-back-submit'
                        , submit = layero.find('iframe').contents().find('#' + submitID);
                    //监听提交
                    iframeWindow.layui.form.on('submit(' + submitID + ')', function (data) {
                        var field = data.field; //获取提交的字段
                        //提交 Ajax 成功后，静态更新表格中的数据
                        $.ajax({
                            url: ImageUrl,
                            type: 'post',
                            data: field,
                            success: function (res) {
                                if (res.code === 200) {
                                    $('#image').val(res.data);
                                    layer.close(index); //关闭弹层
                                } else {
                                    layer.msg("未知错误！", {icon: 5});
                                    return false;
                                }
                            }
                        });
                    });
                    submit.trigger('click');
                }
            });
        });


    });
</script>